package com.imooc.order.enums;

import lombok.Getter;

/**
 * OrderStatusEnum
 * 支付状态枚举
 *
 * @author leon.cheng
 * @date 2018/11/20 15:36
 **/
@Getter
public enum PayStatusEnum implements CodeEnum {
    WAIT(0, "等待支付"),
    SUCCESS(1, "支付成功");
    private Integer code;
    private String message;

    PayStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
